﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dm.Domain.Entities
{
    public static class WebSettings
    {
        public static class Global
        {

        }

        public static class Data
        {

        }

        public static class Web
        {
            public static void Authenticate(User user)
            {

            }
        }

        public static class Status
        {
            public const int ActiveStatus = 1;
            public const int InactiveStatus = 2;
        }

        public static class NotificationMessages<TENTITY> where TENTITY : class
        {
            public static string SAVE_SUCCESS_MESSAGE { get { return  string.Format("<div class='success'>{0} profile has been successfully created.</div>", typeof(TENTITY).Name); } }
            public static string UPDATE_SUCCESS_MESSAGE { get { return string.Format("<div class='success'>{0} profile has been successfully updated.</div>", typeof(TENTITY).Name); } }
            public static string DEACTIVATE_SUCCESS_MESSAGE { get { return string.Format("<div class='success'>{0} profile has been successfully updated.</div>", typeof(TENTITY).Name); } }

        }
    }
}
